package com.crhms.seabow.model;

import com.crhms.seabow.entity.Lesson;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author hkk
 */
@Data
public class CateLessonResult {

    private String code;

    private String name;

    @JsonProperty("id")
    private String categoryId;

    //@JsonProperty("name")
    private String categoryName;

    private String lessonId;

    @JsonProperty("products")
    private List<Lesson> lessons;

    private String iconUrl;
}
